<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">

        <div class="layui-form-item">
            <label class="layui-form-label required">类型</label>
            <div class="layui-input-block">
                <select name="type" lay-verify="required" lay-search="">
                    {foreach $typeList as $k => $v}
                    <option value="{$k}">{$v}</option>
                    {/foreach}
                </select>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label required">分类名称</label>
            <div class="layui-input-block">
                <select name="categorys_id" lay-verify="required" lay-search="">
                    {foreach $categorysList as $k => $v}
                    <option value="{$k}">{$v}</option>
                    {/foreach}
                </select>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label required">标题</label>
            <div class="layui-input-block">
                <input type="text" name="title" class="layui-input"  placeholder="请输入标题" value="" lay-verify="required">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label required">内容</label>
            <div class="layui-input-block">
                <textarea name="content" rows="20" class="layui-textarea editor" placeholder="请输入内容">{$row.content|default=''}</textarea>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">跳转链接</label>
            <div class="layui-input-block">
                <input type="text" name="url" class="layui-input"  placeholder="请输入跳转链接" value="">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">跳转页面</label>
            <div class="layui-input-block">
                <input type="text" name="page" class="layui-input"  placeholder="请输入跳转页面" value="">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">备注说明</label>
            <div class="layui-input-block">
                <input type="text" name="remark" class="layui-input"  placeholder="请输入备注说明" value="">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label required">用户信息</label>
            <div class="layui-input-block">
                <select name="uid" lay-verify="required" lay-search="">
                    <option value="0">系统用户</option>
                    {foreach $userList as $k => $v}
                    <option value="{$v.uid}">{$v.user_info}</option>
                    {/foreach}
                </select>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label required">发布时间</label>
            <div class="layui-input-block">
                <input type="text" name="publish_time" data-date="" data-date-type="datetime" class="layui-input"  placeholder="请选择发布时间" value="">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">是否已读</label>
            <div class="layui-input-block">
                <input type="radio" name="is_read" value="1" title="已读" lay-filter="demo-radio-filter" >
                <input type="radio" name="is_read" value="2" lay-filter="demo-radio-filter" title="未读" checked>
            </div>
        </div>

        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>